#!/bin/bash
<<'COMMENT'

COMMENT

NNODES=1
ID=1
PER_NODE=1
DEVICE_IDS=0
BATCH_SIZE=
EPOCH_SIZE=
WORKERS=1
TRAIN_DATA=
DEV_DATA=
Save_path=
LOGS_PATH=
LR=
Dilation=(1 2 3)
Warm_factor=0.1
Seed=123


CMD="
torchrun --standalone --nnodes=$NNODES --nproc_per_node=$PER_NODE main.py 
--device_ids=$DEVICE_IDS 
--dataset_path=$TRAIN_DATA
--dev_path=$DEV_DATA
--save_path=$Save_path
--epochs=$EPOCH_SIZE
--batch_size=$BATCH_SIZE
--learning_rate=$LR
--warm_factor=$Warm_factor
--seed=$Seed
--log_path=$LOGS_PATH
--workers=$WORKERS
--dilation ${Dilation[*]}
"
echo $CMD
$CMD
